<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>无限级分类</title>
    <style>
        dd a{
            color: #FF00FF;
        }
        li a{
            color: #EAA90B;
        }
    </style>
</head>
<body>
<dd><a href="/admin/jquery/jlist">返回地区列表</a></dd>
<ul class="layui-nav layui-bg-blue">
    <!--<li class="layui-nav-item"><img src="/static/images/face/timg.gif" alt="" width="95" height="60"></li>-->
    {foreach name='data' item='v'}
    <li class="layui-nav-item"><a href="javascript:;">{$v.region_name}</a>
        {if $v.childs != null}
        <dl class="layui-nav-child">
            {foreach name='$v.childs' item='vo'}
            <dd>
                <a href="javascript:;">{$vo.region_name}</a>
                {if !empty($vo.childs)}
                <ul>
                    {foreach name='$vo.childs' item='voo'}
                    <li>
                        <a href="javascript:;">{$voo.region_name}</a>
                    </li>
                    {/foreach}
                </ul>
                {/if}
            </dd>
            {/foreach}
        </dl>
        {/if}
    </li>
    {/foreach}
</ul>
</body>
</html>